const koa=require("koa");
const app=new koa();
const bodyParser  = require('koa-bodyparser');
//路由
const router = require('./routes/router');  //导入路由模块，下面会有详细代码

//启动路由
app.use(bodyParser()).use(router.routes());

app.listen(5000);
console.log("启动成功。。。。。。");